package com.aaa.common.util;

public class Result<T> {
    private int returnCode;
    private String returnMassage;
    private T t;
    public Result() {
    }
    public Result(int returnCode, String returnMassage) {
        this.returnCode = returnCode;
        this.returnMassage = returnMassage;
    }
    public Result(int returnCode, String returnMassage, T t) {
        this.returnCode = returnCode;
        this.returnMassage = returnMassage;
        this.t = t;
    }

    public int getReturnCode() {
        return returnCode;
    }
    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }
    public String getReturnMassage() {
        return returnMassage;
    }
    public void setReturnMassage(String returnMassage) {
        this.returnMassage = returnMassage;
    }
    public T getT() {
        return t;
    }
    public void setT(T t) {
        this.t = t;
    }
}
